<!DOCTYPE html>
<html>
{include file="public/head" /}
<body class="hold-transition skin-blue sidebar-mini fixed" style="overflow:hidden">
<div class="wrapper">
  <header class="main-header" id="header">
  <nav class="navbar-logo"> <a class="brand-title" href="{$Think.config.zanpian['zanpian_url']}" target="_blank">{$Think.config.zanpian['zanpian_cmsname']}</a> <span></span> <a href="#" class="sidebar-toggle pull-right menu-lg" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a> </nav>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
    <div id="nav"  class="pull-left">
     <a href="#" class="sidebar-toggle pull-left menu-min" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
     <ul class="nav nav-tabs nav-addtabs"  role="tablist">                                       
     </ul>
     </div>
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <li><a href="{$Think.config.site['site_url']}" target="_blank"><i class="fa fa-home" style="font-size:14px;"></i></a></li>
          <li class="dropdown notifications-menu">
                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
                    <i class="fa fa-bell-o"></i>
                    <span class="label label-warning"></span>
                </a>
                <ul class="dropdown-menu" id="zanpiancms_news">
                    <li class="header">官方信息</li>
                    <li>
                     <ul class="menu"></ul>
                    </li>
                    <li class="footer"><a href="javascript:;" target="_blank">更多信息</a></li>
                </ul>
          </li>
          <li><a href="javascript:;" data-toggle="checkupdate" title="检测更新"><i class="fa fa-refresh"></i></a></li>
          <li><a  class="ajax-post" href="{:url('admin/caches/clear',array('type'=>'del'))}" data-toggle="wipecache" title="清空缓存"><i class="fa fa-trash"></i></a></li>          
          <!-- 账号信息下拉框 -->
          <li class="dropdown user user-menu">
                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
                    <img src="{:zanpian_avatar_url($member,'big')}" class="user-image">
                    <span class="hidden-xs">{$member.member_nickname}</span>
                </a>
                <ul class="dropdown-menu">
                    <!-- User image -->
                    <li class="user-header">
                        <img src="{:zanpian_avatar_url($member,'big')}" class="img-circle">
                         <p>{$member.member_nickname}<small>{$member.member_last_login_time|date='Y-m-d H:i:s',###}</small>
                        </p>
                    </li>
                    <!-- Menu Body -->
                    <li class="user-body">
                        <div class="row">
                            <div class="col-xs-4 text-center">
                                <a href="{$Think.config.zanpian['zanpian_url']}" target="_blank"><i class="fa fa-send"></i> 官网</a>
                            </div>
                            <div class="col-xs-4 text-center">
                                <a href="{$Think.config.zanpian['zanpian_bbs']}" target="_blank"><i class="fa fa-comment"></i> 论坛</a>
                            </div>
                            <div class="col-xs-4 text-center">
                                <a href="{$Think.config.zanpian['zanpian_document']}" target="_blank"><i class="fa fa-file-word-o"></i> 文档</a>
                            </div>
                        </div>
                    </li>
                    <!-- Menu Footer-->
                    <li class="user-footer">
                        <div class="pull-left">
                            <a href="{:url('member/editpwd')}"  data-name="修改{$member.member_nickname}的登录密码" class="btn btn-default btn-flat popurl">修改密码</a>
                        </div>
                        <div class="pull-right">
                            <a href="{:url('login/logout')}" class="btn btn-default btn-flat confirm logout">退出后台</a>
                        </div>
                    </li>
                </ul>
            </li>
          <!-- 账号信息下拉框 -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- sidebar menu: : style can be found in sidebar.less -->
            <!-- search form -->
    <form action="" method="get" class="sidebar-form" onSubmit="return false;">
        <div class="input-group">
            <input type="text" name="q" class="form-control" placeholder="搜索菜单" autocomplete="off" >
            <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
            </span>
            <div class="menuresult list-group sidebar-form hide">
            </div>
        </div>
    </form>
      <!-- /.search form -->
<ul class="sidebar-menu">
{$__menu__}
</ul>
    </section>
    <!-- /.sidebar -->
  </aside>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
  <div  class="tab-content addtabs-content">
  </div>
  </div>
  <!-- /.content-wrapper -->
    <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Create the tabs -->
    <!-- Tab panes -->
    <div class="tab-content">
      <div class="tab-pane" id="control-sidebar-home-tab">
      </div>
    </div>
  </aside>
  <!-- /.control-sidebar -->
  <div class="control-sidebar-bg"></div>  
</div>
<!-- ./wrapper -->
<script src="{$Think.TPL_PATH}tpl/zanpianadmin/libs/bootstrap/js/bootstrap.addtabs.js?v={$Think.config.cms['cms_version']}"></script>
<script src="{$Think.TPL_PATH}tpl/zanpianadmin/js/adminlte.js?v={$Think.config.cms['cms_version']}"></script>
<script src="{$Think.TPL_PATH}tpl/zanpianadmin/libs/jquery/jquery.slimscroll.min.js?v={$Think.config.cms['cms_version']}"></script>
{include file="public/footer" /}
<script type="text/javascript">
$(document).ready(function(){
           zanpian.cms.index();							   
});	
</script>
</body>
</html>
